package com.sqfw.project.wp.service;

import java.util.List;

import com.sqfw.project.wp.domain.WpApplyItem;
import com.sqfw.project.wp.domain.WpHandleLog;
import com.sqfw.project.wp.domain.WpInfo;
import com.sqfw.project.wp.domain.vo.ExportWpInfo;
import com.sqfw.project.wpReport.domain.WpInfoTransfer;

/**
 * 工单主轨迹表Service接口
 *
 * @author lx
 * @date 2023-06-07
 */
public interface IWpHandleLogService {


    /**
     * 查询工单主轨迹表列表
     *
     * @param wpHandleLog 工单主轨迹表
     * @return 工单主轨迹表集合
     */
    public List<WpHandleLog> selectWpHandleLogList(WpHandleLog wpHandleLog);

    /**
     * 新增工单主轨迹表
     *
     * @param wpHandleLog 工单主轨迹表
     * @return 结果
     */
    public int insertWpHandleLog(WpHandleLog wpHandleLog);

    /**
     * 修改工单主轨迹表
     *
     * @param wpHandleLog 工单主轨迹表
     * @return 结果
     */
    public int updateWpHandleLog(WpHandleLog wpHandleLog);

    /**
     * 批量删除工单主轨迹表
     *
     * @param wpids 需要删除的工单主轨迹表主键集合
     * @return 结果
     */
    public int deleteWpHandleLogByWpids(String[] wpids);

    /**
     * 删除工单主轨迹表信息
     *
     * @param wpid 工单主轨迹表主键
     * @return 结果
     */
    public int deleteWpHandleLogByWpid(String wpid);


    public WpHandleLog getWpHandleDetailedById(String processId);

    public List<WpHandleLog> selectWpHandleLogListByDeptIds(WpInfoTransfer wpInfoTransfer);

    //承办单位导出
    public List<ExportWpInfo> exportWpInfos(WpApplyItem item);
}
